<?php

namespace models\Exception\Business;

use Exception;


class AdException extends Exception {
    const AD_IS_NOT_EXISTS = '广告不存在';

    const AD_IS_NOT_EXISTS_NO = '404';

    const AD_CREATE_FAILURE = '广告创建失败';

    const AD_CREATE_FAILURE_NO = '422';

    const AD_EDIT_FAILURE = '广告编辑失败';

    const AD_EDIT_FAILURE_NO = '422';

    const AD_ID_IS_EMPTY = '广告编号不能为空';

    const AD_ID_IS_EMPTY_NO = '400';

}
